package com.api.syh56.shengyunhui.service;

import com.api.syh56.shengyunhui.entity.Car;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

public interface CarService extends IService<Car> {
    void setAlltoDefault(Long uid);
    void setDefault(Long id);
    void addNewCar(Car car);
    void removeCar(Car car);
    void updateCar(Car car);
    Car selectById(Long id);
    Page<Car> selectPageByuid(Long uid, Integer pageSize, Integer pageNum);
}
